package com.xbongbong.pro.statistic.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.statistic.pojo.LinkageListPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Collections;
import java.util.List;

/**
 * @author zyy
 * @date 2022/11/30/ 17:20:00
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class LinkageListVO extends BaseVO {
    private static final long serialVersionUID = 9146355194249469787L;

    /**
     * 可选图表数组
     */
    public List<LinkageListPojo>  validChartList = Collections.emptyList();

    /**
     * 不可选图表数组
     */
    public List<LinkageListPojo>  invalidChartList = Collections.emptyList();

    public LinkageListVO initData(List<LinkageListPojo> validChartList, List<LinkageListPojo> invalidChartList) {
        this.validChartList = validChartList;
        this.invalidChartList = invalidChartList;
        return this;
    }
}
